package com.ctshk.rpc.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 财务挂账申请记录
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_on_account_apply")
@ApiModel(value="FinanceOnAccountApply对象", description="财务挂账申请记录")
public class FinanceOnAccountApply extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属挂账ID")
    private Long onAccountId;

    @ApiModelProperty(value = "申请挂账额度")
    private BigDecimal applyAmount;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "有效期至")
    private LocalDateTime expireDate;

    @ApiModelProperty(value = "业务类型")
    private String businessType;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "附件JSON")
    private String filesJson;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批id")
    private Long approvalId;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
